package com.rainbow.modules.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.rainbow.modules.sys.entity.DepartmentHeader;

import java.util.List;

public interface DepartmentHeaderService extends IService<DepartmentHeader> {

    /**
     * 通过部门和负责人类型获取
     *
     * @param departmentId
     * @param type
     * @return
     */
    List<String> findHeaderByDepartmentId(String departmentId, Integer type);

}
